<?php
class Paragraph extends Element{
	
	private $authorizedElements = array("Link","Image","Text");
	
	public function __construct(){
		parent::__construct($this->authorizedElements);
	}
	
	public function __toString(){
		return '<p>' . parent::__toString() . '</p>';
	}
}
?>